package com.ws.universal.tools.takephoto.multipleimageselect.helpers;

/**
 * @创建者 ws
 * @TIME 2021/8/11 15:02
 * @描述 状态码 及参数名字
 */
public class ConstantsCode {

    public static final int FETCH_STARTED = 2001;
    public static final int FETCH_COMPLETED = 2002;
    public static final int PERMISSION_GRANTED = 2003;
    public static final int PERMISSION_DENIED = 2004;
    public static final int ERROR = 2005;

    /**
     * Request code for permission has to be < (1 << 8)
     * Otherwise throws java.lang.IllegalArgumentException: Can only use lower 8 bits for requestCode
     */
    public static final int PERMISSION_REQUEST_READ_EXTERNAL_STORAGE = 23;

    public static final String INTENT_EXTRA_ALBUM = "album";
    public static final String INTENT_EXTRA_IMAGES = "images";
    public static final String INTENT_EXTRA_LIMIT = "limit";
    public static final String showImage = "showImage";
    public static final String showVideo = "showVideo";
    public static final int DEFAULT_LIMIT = 10;

    //Maximum number of images that can be selected at a time
    public static int limit;
    //临时文件夹 图片裁剪后的位置
    public static String temporaryFolder = "/Pictures/";
}
